package itsm.isperp.module.entity.incident;

import itsm.isperp.framework.domain.IBean;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 实体
 * 
 * @author lizx
 * @date 2016-11-28 09:29
 */
@Entity
@Table(name = "icd_major_chat")
public class IcdMajorChat implements IBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Column
	protected String incidentId;

	//
	@Column
	protected boolean areImportant;

	//
	@Column
	protected String contents;

	//
	@Id
	protected String id;

	//
	@Column
	protected Timestamp sendTime;

	//
	@Column
	protected String sender;

	//
	@Column
	protected String senderName;
	
	@Column
  protected int sendOrd;

	public boolean isAreImportant() {
		return areImportant;
	}

	public void setAreImportant(boolean areImportant) {
		this.areImportant = areImportant;
	}

	public Timestamp getSendTime() {
		return sendTime;
	}

	public void setSendTime(Timestamp sendTime) {
		this.sendTime = sendTime;
	}

	public String getContents() {
		return contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getSenderName() {
		return senderName;
	}

	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}

	public String getIncidentId() {
		return incidentId;
	}

	public void setIncidentId(String incidentId) {
		this.incidentId = incidentId;
	}

  public int getSendOrd() {
    return sendOrd;
  }

  public void setSendOrd(int sendOrd) {
    this.sendOrd = sendOrd;
  }

}
